//
//  MaskView.m
//  demo
//
//  Created by RYAN on 15/8/4.
//
//

#import "MaskView.h"


@interface MaskView ()

@end

@implementation MaskView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (id)initWithFrame:(CGRect)frame viewID:(NSString *)viewID{
    self = [super initWithFrame:frame];
    if (self) {
        self.viewID = viewID;
    }
    
    return self;
}

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    //TODO WHEN VIEW TOUCHED
//    [[NSNotificationCenter defaultCenter] postNotificationName:self.maskViewWhenBeganTouch object:self.viewID];
}

@end
